home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20030409-20031118 / 000250_amarsh@ncpgg.adelaide.edu.au_Fri Aug 29 14:29:36 EDT 2003.msg < prev    next >
Text File  |  2003-11-18  |  4KB  |  98 lines

  1. Article: 14490 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!petbe.visi.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
  3. From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
  4. Organization: National Centre for Petroleum Geology and Geophysics
  5. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
  6. X-Accept-Language: en-us, en
  7. MIME-Version: 1.0
  8. Newsgroups: comp.protocols.kermit.misc
  9. Subject: Re: SSH command in C-Kermit - how does it get -l paramater
  10. References: <3f4e97b6$1@yorrell.saard.net> <bimkd6$1jp$1@watsol.cc.columbia.edu>
  11. In-Reply-To: <bimkd6$1jp$1@watsol.cc.columbia.edu>
  12. Content-Type: text/plain; charset=us-ascii; format=flowed
  13. Content-Transfer-Encoding: 7bit
  14. X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
  15. Message-ID: <3f4ede39@yorrell.saard.net>
  16. X-Original-Trace: 29 Aug 2003 14:31:45 +0950, rudolph.ncpgg.adelaide.edu.au
  17. Lines: 74
  18. Date: Fri, 29 Aug 2003 05:01:47 GMT
  19. NNTP-Posting-Host: 203.21.37.20
  20. X-Trace: news.optus.net.au 1062133307 203.21.37.20 (Fri, 29 Aug 2003 15:01:47 EST)
  21. NNTP-Posting-Date: Fri, 29 Aug 2003 15:01:47 EST
  22. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14490
  23.  
  24. Jeffrey Altman wrote:
  25. > Arthur:
  26. > C-Kermit could absolutely do a better job of intergrating with OpenSSH.
  27. > All that needs to be done is for someone to spend the time to write the
  28. > code or donate the money for someone else to be paid to write the code.
  29. > Jeffrey Altman
  30. > Former Kermit Developer
  31.  
  32. Short of modifying the C source, is there a method for delayed 
  33. evaluation of the string specified in the "set ssh command" command or 
  34. could one use the "set ssh command" command to make C-Kermit execute a 
  35. macro in response to SSH at the C-Kermit prompt?
  36.  
  37. Regards,
  38.  
  39. Arthur.
  40.  
  41. > In article <3f4e97b6$1@yorrell.saard.net>,
  42. > Arthur Marsh  <amarsh@ncpgg.adelaide.edu.au> wrote:
  43. > : Hi, I want to be able to use the SSH command in C-Kermit (8.0.210 
  44. > : Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to 
  45. > : connect to a  few different remote systems where I have accounts with 
  46. > : different usernames.
  47. > : 
  48. > : I could do
  49. > : 
  50. > : ssh -l differentusername hostname
  51. > : 
  52. > : each time
  53. > : 
  54. > : but wonder why when I do:
  55. > : 
  56. > : set telnet env user differentusername
  57. > : 
  58. > : then
  59. > : 
  60. > : ssh hostname
  61. > : 
  62. > : C-Kermit does:
  63. > : 
  64. > : Connecting via command "ssh -e none -l amarsh hostname"
  65. > : 
  66. > : I would have thought that the argument to the -l parameter would be the 
  67. > : current value of \v(userid), which is set by the set telnet env user 
  68. > : command. How does C-Kermit get the value for the -l parameter of the SSH 
  69. > : command?
  70. > : 
  71. > : Under K95 2.1.4, if I set telnet env differentusername then ssh 
  72. > : hostname, I get prompted for differentusername's password as expected.
  73. > : 
  74. > : Another oddity under C-Kermit is that if I attempt an SSH login which 
  75. > : fails and returns to the C-Kermit prompt, then type Connect, I get:
  76. > : 
  77. > : DNS Lookup... Can't get address for ssh -e none -l username host
  78. > : 
  79. > : Upon issuing the Connect command in K95, I get the SSH password prompt 
  80. > : as expected.
  81. > : 
  82. > : I realise that SSH is an external command in C-Kermit and built-in to 
  83. > : K95, but think it should be possible for the C-Kermit version to behave 
  84. > : more closely like the K95 version in the two cases above.
  85. > : 
  86. > : Regards,
  87. > : 
  88. > : Arthur.
  89. > : 
  90.  
  91.